package com.mzkj.wanjulaile.mobile.api.modules.order.constant;

/**
 * Created by ianly on 16/10/13.
 */
public class Constant {

    private Constant() {
    }

    /***************订单状态**************/
    /**
     * 订单数据库表默认为0
     */
    public static final Integer ORDER_UNKNOWN= 0;
    /**
     * 订单提交
     */
    public static final Integer ORDER_CREATE = 1;
    /**
     * 订单确认
     */
    public static final Integer ORDER_CONFIRM = 2;
    /**
     * 配送中
     */
    public static final Integer ORDER_SENDING = 3;
    /**
     * 已签收
     */
    public static final Integer ORDER_RECEIVED = 4;
    /**
     * 订单完成
     */
    public static final Integer ORDER_COMPLETE = 5;
    /**
     * 订单取消
     */
    public static final Integer ORDER_CANCEL = 6;

    /***************订单支付状态**************/
    /**
     * 未支付
     */
    public static final Integer PAY_STATUS_NOT_PAID_ = 0;
    /**
     * 已支付
     */
    public static final Integer PAYSTATUS_PAID = 1;
    /**
     * 支付中
     */
    public static final Integer PAYSTATUS_PAYING = 2;
    /**
     * 退款中
     */
    public static final Integer PAYSTATUS_REFUNDING = 3;
    /**
     * 已退款
     */
    public static final Integer PAYSTATUS_RETURNED = 4;
    /**
     * 申请退款
     */
    public static final Integer PAYSTATUS_REFUND_PROCESSING = 5;

    /***************微信处理退款 退款列表使用*************/
    public static final String WECHAT_REFUND_SUCCESS = "0";
    public static final String WECHAT_REFUND_PROCESSING = "1";
    /**
     * 记录类别-支付
     */
    public static final Integer NOTIFY_TYPE_PAY = 0;
    /**
     * 记录类别-退款
     */
    public static final Integer NOTIFY_TYPE_REFUND = 1;

    /*************订单玩具状态*************/
    /**
     * 等待配送中
     */
    public static final Integer ORDER_TOY_SHIPPING = 1;
    /**
     * 使用中
     */
    public static final Integer ORDER_TOY_USING = 2;
    /**
     * 已返还
     */
    public static final Integer ORDER_TOY_RETURN = 3;
    /**
     * 已续租
     */
    public static final Integer ORDER_TOY_RENTING = 4;
    /**
     * 待回收
     */
    public static final Integer ORDER_TOY_RETURNING = 5;

    /***************redis中订单前缀***************/
    public static final String RedisKey_DSHORDER_PREFIX = "redis_dshorder_";
}
